<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SmartCarInformationSystem: CompareController类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SmartCarInformationSystem
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classCompareController.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classCompareController-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CompareController类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="CompareController_8h_source.html">CompareController.h</a>&gt;</code></p>
<div class="dynheader">
CompareController 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController__coll__graph.png" border="0" usemap="#aCompareController_coll__map" alt="Collaboration graph"/></div>
<map name="aCompareController_coll__map" id="aCompareController_coll__map">
<area shape="rect" title=" " alt="" coords="5,684,221,908"/>
<area shape="rect" title=" " alt="" coords="16,529,211,621"/>
<area shape="rect" href="classCompare.html" title=" " alt="" coords="162,316,265,467"/>
<area shape="rect" title=" " alt="" coords="70,147,157,224"/>
<area shape="rect" title=" " alt="" coords="44,5,183,97"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a0f8b3a59e06449954b080ed72e5d2d02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#a0f8b3a59e06449954b080ed72e5d2d02">CompareController</a> ()</td></tr>
<tr class="separator:a0f8b3a59e06449954b080ed72e5d2d02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc253b55d35b0cb6e134092fc8f29ce7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#acc253b55d35b0cb6e134092fc8f29ce7">~CompareController</a> ()</td></tr>
<tr class="separator:acc253b55d35b0cb6e134092fc8f29ce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7d21b3e1e33cacff944881f3bc8fdb4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCompare.html">Compare</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#ae7d21b3e1e33cacff944881f3bc8fdb4">addCompare</a> (<a class="el" href="classStudent.html">Student</a> *stu, <a class="el" href="classSmartCar.html">SmartCar</a> *car)</td></tr>
<tr class="separator:ae7d21b3e1e33cacff944881f3bc8fdb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59e3ffb005b922d76cad0ba8adabe158"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#a59e3ffb005b922d76cad0ba8adabe158">getCompareCount</a> ()</td></tr>
<tr class="separator:a59e3ffb005b922d76cad0ba8adabe158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a604b800307b2aaf78edeada402f18ac0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#a604b800307b2aaf78edeada402f18ac0">listAllCompare</a> (<a class="el" href="classCompare.html">Compare</a> *(&amp;compareList)[])</td></tr>
<tr class="separator:a604b800307b2aaf78edeada402f18ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa101d02a5d3e0b1f17db0326332c365"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#aaa101d02a5d3e0b1f17db0326332c365">getCompareCountByCarId</a> (std::string carId)</td></tr>
<tr class="separator:aaa101d02a5d3e0b1f17db0326332c365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f947e9b957c90f93c3850b35876c71b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#a1f947e9b957c90f93c3850b35876c71b">findCompareByCarId</a> (std::string carId, <a class="el" href="classCompare.html">Compare</a> *(&amp;compareList)[])</td></tr>
<tr class="separator:a1f947e9b957c90f93c3850b35876c71b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bbfa8b29de9c54e0b7db2b713c14a4e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#a8bbfa8b29de9c54e0b7db2b713c14a4e">deleteCompare</a> (std::string _id)</td></tr>
<tr class="separator:a8bbfa8b29de9c54e0b7db2b713c14a4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0c63dadb11ed351d156b827e9f8f5d7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#af0c63dadb11ed351d156b827e9f8f5d7">deleteCompare</a> (<a class="el" href="classCompare.html">Compare</a> *_compare)</td></tr>
<tr class="separator:af0c63dadb11ed351d156b827e9f8f5d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a274dcad6133a17814cf3bdb1c17f5e15"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCompare.html">Compare</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#a274dcad6133a17814cf3bdb1c17f5e15">strToCompare</a> (std::istringstream &amp;iss)</td></tr>
<tr class="separator:a274dcad6133a17814cf3bdb1c17f5e15"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:ac7b130aeaf9893d89a928b6567aa182b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCompare.html">Compare</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#ac7b130aeaf9893d89a928b6567aa182b">addCompare</a> (std::string _id, std::string _stuId, std::string _carId)</td></tr>
<tr class="separator:ac7b130aeaf9893d89a928b6567aa182b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ae2a83fceb0ce61c9af5e86db8f2f983f"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; std::string, <a class="el" href="classCompare.html">Compare</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a></td></tr>
<tr class="separator:ae2a83fceb0ce61c9af5e86db8f2f983f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a0f8b3a59e06449954b080ed72e5d2d02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f8b3a59e06449954b080ed72e5d2d02">&#9670;&nbsp;</a></span>CompareController()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CompareController::CompareController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>构造函数 </p>

</div>
</div>
<a id="acc253b55d35b0cb6e134092fc8f29ce7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc253b55d35b0cb6e134092fc8f29ce7">&#9670;&nbsp;</a></span>~CompareController()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CompareController::~CompareController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>析构函数 </p>

<p class="reference">引用了 <a class="el" href="MapFunc_8h.html#a389aca75d2b0801a83c6fb091f4c2a90">clearMap()</a> , 以及 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_acc253b55d35b0cb6e134092fc8f29ce7_cgraph.png" border="0" usemap="#aclassCompareController_acc253b55d35b0cb6e134092fc8f29ce7_cgraph" alt=""/></div>
<map name="aclassCompareController_acc253b55d35b0cb6e134092fc8f29ce7_cgraph" id="aclassCompareController_acc253b55d35b0cb6e134092fc8f29ce7_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,161,47"/>
<area shape="rect" href="MapFunc_8h.html#a389aca75d2b0801a83c6fb091f4c2a90" title="清理Map中所有元素的内存占用，并清空Map。" alt="" coords="209,13,292,39"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ac7b130aeaf9893d89a928b6567aa182b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7b130aeaf9893d89a928b6567aa182b">&#9670;&nbsp;</a></span>addCompare() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCompare.html">Compare</a> * CompareController::addCompare </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>_stuId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>_carId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>添加匹配 </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4">autoCompare()</a>, <a class="el" href="ManageCompare_8h.html#ad5bd309ed4e85626b7ce81b0ec3b7c8c">createCompare()</a> , 以及 <a class="el" href="classCompareController.html#a274dcad6133a17814cf3bdb1c17f5e15">strToCompare()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_ac7b130aeaf9893d89a928b6567aa182b_icgraph.png" border="0" usemap="#aclassCompareController_ac7b130aeaf9893d89a928b6567aa182b_icgraph" alt=""/></div>
<map name="aclassCompareController_ac7b130aeaf9893d89a928b6567aa182b_icgraph" id="aclassCompareController_ac7b130aeaf9893d89a928b6567aa182b_icgraph">
<area shape="rect" title=" " alt="" coords="680,49,833,90"/>
<area shape="rect" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4" title=" " alt="" coords="305,5,416,32"/>
<area shape="rect" href="ManageCompare_8h.html#ad5bd309ed4e85626b7ce81b0ec3b7c8c" title=" " alt="" coords="494,56,617,83"/>
<area shape="rect" href="classCompareController.html#a274dcad6133a17814cf3bdb1c17f5e15" title=" " alt="" coords="479,107,632,149"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,56,243,83"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,56,60,83"/>
<area shape="rect" href="ManageCompare_8h.html#af452b1c4471cdf6f482e78ecd1a3a39a" title=" " alt="" coords="291,111,431,137"/>
</map>
</div>

</div>
</div>
<a id="ae7d21b3e1e33cacff944881f3bc8fdb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7d21b3e1e33cacff944881f3bc8fdb4">&#9670;&nbsp;</a></span>addCompare() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCompare.html">Compare</a> * CompareController::addCompare </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classStudent.html">Student</a> *&#160;</td>
          <td class="paramname"><em>stu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td>
          <td class="paramname"><em>car</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>添加匹配 </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>, <a class="el" href="classSmartCar.html#a1a8c8912de0fab469102f65a2c470a70">SmartCar::getId()</a>, <a class="el" href="classStudent.html#a368793ee9c2da24437fb1d8c81db369a">Student::getId()</a> , 以及 <a class="el" href="classCompare.html#a925b8249b1f51336234c3387d271b368">Compare::id</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_ae7d21b3e1e33cacff944881f3bc8fdb4_cgraph.png" border="0" usemap="#aclassCompareController_ae7d21b3e1e33cacff944881f3bc8fdb4_cgraph" alt=""/></div>
<map name="aclassCompareController_ae7d21b3e1e33cacff944881f3bc8fdb4_cgraph" id="aclassCompareController_ae7d21b3e1e33cacff944881f3bc8fdb4_cgraph">
<area shape="rect" title=" " alt="" coords="5,23,159,65"/>
<area shape="rect" href="classSmartCar.html#a1a8c8912de0fab469102f65a2c470a70" title=" " alt="" coords="207,5,331,32"/>
<area shape="rect" href="classStudent.html#a368793ee9c2da24437fb1d8c81db369a" title=" " alt="" coords="212,56,325,83"/>
</map>
</div>

</div>
</div>
<a id="af0c63dadb11ed351d156b827e9f8f5d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0c63dadb11ed351d156b827e9f8f5d7">&#9670;&nbsp;</a></span>deleteCompare() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CompareController::deleteCompare </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCompare.html">Compare</a> *&#160;</td>
          <td class="paramname"><em>_compare</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>删除匹配-通过匹配类指针 </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a> , 以及 <a class="el" href="classCompare.html#a925b8249b1f51336234c3387d271b368">Compare::id</a>.</p>

</div>
</div>
<a id="a8bbfa8b29de9c54e0b7db2b713c14a4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bbfa8b29de9c54e0b7db2b713c14a4e">&#9670;&nbsp;</a></span>deleteCompare() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CompareController::deleteCompare </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>删除匹配-通过Id </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a47581478f58565e7e006847e67f363eb">deleteCompare()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_a8bbfa8b29de9c54e0b7db2b713c14a4e_icgraph.png" border="0" usemap="#aclassCompareController_a8bbfa8b29de9c54e0b7db2b713c14a4e_icgraph" alt=""/></div>
<map name="aclassCompareController_a8bbfa8b29de9c54e0b7db2b713c14a4e_icgraph" id="aclassCompareController_a8bbfa8b29de9c54e0b7db2b713c14a4e_icgraph">
<area shape="rect" title=" " alt="" coords="461,5,615,47"/>
<area shape="rect" href="ManageCompare_8h.html#a47581478f58565e7e006847e67f363eb" title=" " alt="" coords="291,13,413,39"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,13,243,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<a id="a1f947e9b957c90f93c3850b35876c71b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f947e9b957c90f93c3850b35876c71b">&#9670;&nbsp;</a></span>findCompareByCarId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CompareController::findCompareByCarId </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>carId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCompare.html">Compare</a> *(&amp;)&#160;</td>
          <td class="paramname"><em>compareList</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查找匹配信息-根据小车ID </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ShowInfo_8h.html#ad13b433f5e419c7fc8371f32135d5a84">printCar()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_a1f947e9b957c90f93c3850b35876c71b_icgraph.png" border="0" usemap="#aclassCompareController_a1f947e9b957c90f93c3850b35876c71b_icgraph" alt=""/></div>
<map name="aclassCompareController_a1f947e9b957c90f93c3850b35876c71b_icgraph" id="aclassCompareController_a1f947e9b957c90f93c3850b35876c71b_icgraph">
<area shape="rect" title=" " alt="" coords="360,5,516,47"/>
<area shape="rect" href="ShowInfo_8h.html#ad13b433f5e419c7fc8371f32135d5a84" title=" " alt="" coords="237,13,312,39"/>
<area shape="rect" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041" title=" " alt="" coords="108,13,189,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<a id="a59e3ffb005b922d76cad0ba8adabe158"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59e3ffb005b922d76cad0ba8adabe158">&#9670;&nbsp;</a></span>getCompareCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CompareController::getCompareCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取匹配数量 </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a47581478f58565e7e006847e67f363eb">deleteCompare()</a>, <a class="el" href="ManageCompare_8h.html#af470143169ab50f5466a128669f6a024">listCompare()</a>, <a class="el" href="ManageCompare_8h.html#af452b1c4471cdf6f482e78ecd1a3a39a">loadCompareData()</a> , 以及 <a class="el" href="ManageCompare_8h.html#a0282ea9c7c1afadbc6e5848e2197fff4">storeCompareData()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_a59e3ffb005b922d76cad0ba8adabe158_icgraph.png" border="0" usemap="#aclassCompareController_a59e3ffb005b922d76cad0ba8adabe158_icgraph" alt=""/></div>
<map name="aclassCompareController_a59e3ffb005b922d76cad0ba8adabe158_icgraph" id="aclassCompareController_a59e3ffb005b922d76cad0ba8adabe158_icgraph">
<area shape="rect" title=" " alt="" coords="484,74,637,115"/>
<area shape="rect" href="ManageCompare_8h.html#a47581478f58565e7e006847e67f363eb" title=" " alt="" coords="302,5,425,32"/>
<area shape="rect" href="ManageCompare_8h.html#af470143169ab50f5466a128669f6a024" title=" " alt="" coords="313,56,414,83"/>
<area shape="rect" href="ManageCompare_8h.html#af452b1c4471cdf6f482e78ecd1a3a39a" title=" " alt="" coords="293,107,433,133"/>
<area shape="rect" href="ManageCompare_8h.html#a0282ea9c7c1afadbc6e5848e2197fff4" title=" " alt="" coords="291,157,436,184"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,81,243,108"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,81,60,108"/>
</map>
</div>

</div>
</div>
<a id="aaa101d02a5d3e0b1f17db0326332c365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa101d02a5d3e0b1f17db0326332c365">&#9670;&nbsp;</a></span>getCompareCountByCarId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CompareController::getCompareCountByCarId </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>carId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取匹配数量-根据小车ID </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ShowInfo_8h.html#ad13b433f5e419c7fc8371f32135d5a84">printCar()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_aaa101d02a5d3e0b1f17db0326332c365_icgraph.png" border="0" usemap="#aclassCompareController_aaa101d02a5d3e0b1f17db0326332c365_icgraph" alt=""/></div>
<map name="aclassCompareController_aaa101d02a5d3e0b1f17db0326332c365_icgraph" id="aclassCompareController_aaa101d02a5d3e0b1f17db0326332c365_icgraph">
<area shape="rect" title=" " alt="" coords="360,5,551,47"/>
<area shape="rect" href="ShowInfo_8h.html#ad13b433f5e419c7fc8371f32135d5a84" title=" " alt="" coords="237,13,312,39"/>
<area shape="rect" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041" title=" " alt="" coords="108,13,189,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<a id="a604b800307b2aaf78edeada402f18ac0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a604b800307b2aaf78edeada402f18ac0">&#9670;&nbsp;</a></span>listAllCompare()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CompareController::listAllCompare </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCompare.html">Compare</a> *(&amp;)&#160;</td>
          <td class="paramname"><em>compareList</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>列出所有匹配 </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ae2a83fceb0ce61c9af5e86db8f2f983f">compareMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a47581478f58565e7e006847e67f363eb">deleteCompare()</a>, <a class="el" href="ManageCompare_8h.html#af470143169ab50f5466a128669f6a024">listCompare()</a> , 以及 <a class="el" href="ManageCompare_8h.html#a0282ea9c7c1afadbc6e5848e2197fff4">storeCompareData()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_a604b800307b2aaf78edeada402f18ac0_icgraph.png" border="0" usemap="#aclassCompareController_a604b800307b2aaf78edeada402f18ac0_icgraph" alt=""/></div>
<map name="aclassCompareController_a604b800307b2aaf78edeada402f18ac0_icgraph" id="aclassCompareController_a604b800307b2aaf78edeada402f18ac0_icgraph">
<area shape="rect" title=" " alt="" coords="484,49,637,90"/>
<area shape="rect" href="ManageCompare_8h.html#a47581478f58565e7e006847e67f363eb" title=" " alt="" coords="302,5,425,32"/>
<area shape="rect" href="ManageCompare_8h.html#af470143169ab50f5466a128669f6a024" title=" " alt="" coords="313,56,414,83"/>
<area shape="rect" href="ManageCompare_8h.html#a0282ea9c7c1afadbc6e5848e2197fff4" title=" " alt="" coords="291,107,436,133"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,56,243,83"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,56,60,83"/>
</map>
</div>

</div>
</div>
<a id="a274dcad6133a17814cf3bdb1c17f5e15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a274dcad6133a17814cf3bdb1c17f5e15">&#9670;&nbsp;</a></span>strToCompare()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCompare.html">Compare</a> * CompareController::strToCompare </td>
          <td>(</td>
          <td class="paramtype">std::istringstream &amp;&#160;</td>
          <td class="paramname"><em>iss</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>从字符串中解析出匹配类 </p>

<p class="reference">引用了 <a class="el" href="classCompareController.html#ac7b130aeaf9893d89a928b6567aa182b">addCompare()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#af452b1c4471cdf6f482e78ecd1a3a39a">loadCompareData()</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_a274dcad6133a17814cf3bdb1c17f5e15_cgraph.png" border="0" usemap="#aclassCompareController_a274dcad6133a17814cf3bdb1c17f5e15_cgraph" alt=""/></div>
<map name="aclassCompareController_a274dcad6133a17814cf3bdb1c17f5e15_cgraph" id="aclassCompareController_a274dcad6133a17814cf3bdb1c17f5e15_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,159,47"/>
<area shape="rect" href="classCompareController.html#ac7b130aeaf9893d89a928b6567aa182b" title=" " alt="" coords="207,5,360,47"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCompareController_a274dcad6133a17814cf3bdb1c17f5e15_icgraph.png" border="0" usemap="#aclassCompareController_a274dcad6133a17814cf3bdb1c17f5e15_icgraph" alt=""/></div>
<map name="aclassCompareController_a274dcad6133a17814cf3bdb1c17f5e15_icgraph" id="aclassCompareController_a274dcad6133a17814cf3bdb1c17f5e15_icgraph">
<area shape="rect" title=" " alt="" coords="479,5,632,47"/>
<area shape="rect" href="ManageCompare_8h.html#af452b1c4471cdf6f482e78ecd1a3a39a" title=" " alt="" coords="291,13,431,39"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="108,13,243,39"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,13,60,39"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ae2a83fceb0ce61c9af5e86db8f2f983f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2a83fceb0ce61c9af5e86db8f2f983f">&#9670;&nbsp;</a></span>compareMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::unordered_map&lt;std::string,<a class="el" href="classCompare.html">Compare</a>*&gt; CompareController::compareMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="classCompareController.html#ae7d21b3e1e33cacff944881f3bc8fdb4">addCompare()</a>, <a class="el" href="classCompareController.html#a8bbfa8b29de9c54e0b7db2b713c14a4e">deleteCompare()</a>, <a class="el" href="classCompareController.html#a1f947e9b957c90f93c3850b35876c71b">findCompareByCarId()</a>, <a class="el" href="classCompareController.html#a59e3ffb005b922d76cad0ba8adabe158">getCompareCount()</a>, <a class="el" href="classCompareController.html#aaa101d02a5d3e0b1f17db0326332c365">getCompareCountByCarId()</a>, <a class="el" href="classCompareController.html#a604b800307b2aaf78edeada402f18ac0">listAllCompare()</a> , 以及 <a class="el" href="classCompareController.html#acc253b55d35b0cb6e134092fc8f29ce7">~CompareController()</a>.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="CompareController_8h_source.html">CompareController.h</a></li>
<li>src/controller/<a class="el" href="CompareController_8cpp.html">CompareController.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classCompareController.html">CompareController</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
